const num =45;
// 进制转换
console.log(num.toString(2),typeof num.toString(2), parseInt(num.toString(2)));